package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 snmp_ping
 * 
 * @author ruoyi
 * @date 2025-02-05
 */
public class SnmpPing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String ip;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String segment;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String netmask;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer isSnmp;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String time;

    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setSegment(String segment) 
    {
        this.segment = segment;
    }

    public String getSegment() 
    {
        return segment;
    }
    public void setNetmask(String netmask) 
    {
        this.netmask = netmask;
    }

    public String getNetmask() 
    {
        return netmask;
    }
    public void setIsSnmp(Integer isSnmp) 
    {
        this.isSnmp = isSnmp;
    }

    public Integer getIsSnmp() 
    {
        return isSnmp;
    }
    public void setTime(String time) 
    {
        this.time = time;
    }

    public String getTime() 
    {
        return time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ip", getIp())
            .append("segment", getSegment())
            .append("netmask", getNetmask())
            .append("isSnmp", getIsSnmp())
            .append("time", getTime())
            .toString();
    }
}
